ALMaSS  1.0
The Animal, Landscape and Man Simulation System
Newt_Larva Class Reference

The newt larva class - in pond. More...

#include <Newt.h>

Inheritance diagram for Newt_Larva:
Newt_Egg Newt_Base TAnimal TALMaSSObject

Public Member Functions

 Newt_Larva (int a_x, int a_y, vector< unsigned > a_pond, Landscape *a_L, Newt_Population_Manager *a_NPM, unsigned a_age, bool a_reproinhib)
 Newt_Larva constructor. More...
 
void ReInit (int a_x, int a_y, vector< unsigned > a_pond, Landscape *a_L, Newt_Population_Manager *a_NPM, unsigned a_age, bool a_reproinhib)
 ReInit for object pool. More...
 
 ~Newt_Larva ()
 Newt_Larva destructor. More...
 
virtual void Init (int a_age)
 Newt_larva Initialisation. More...
 
virtual void Step (void)
 Newt_Larva Step code. This is called continuously until all animals report that they are 'DONE'. More...
 
void InternalPesticideHandlingAndResponse ()
 For handlng of class-specific pesticide effects. More...
 
- Public Member Functions inherited from Newt_Egg
 Newt_Egg (int a_x, int a_y, vector< unsigned > a_pond, Landscape *a_L, Newt_Population_Manager *a_NPM, bool a_reproinhib)
 Newt_Egg constructor. More...
 
void ReInit (int a_x, int a_y, vector< unsigned > a_pond, Landscape *a_L, Newt_Population_Manager *a_NPM, bool a_reproinhib)
 ReInit for object pool. More...
 
 ~Newt_Egg ()
 Newt destructor. More...
 
virtual void Init ()
 Newt_Egg Initialisation. More...
 
void InternalPesticideHandlingAndResponse ()
 For handlng of class-specific pesticide effects. More...
 
- Public Member Functions inherited from Newt_Base
 Newt_Base (int a_x, int a_y, vector< unsigned > a_pond, Landscape *a_L, Newt_Population_Manager *a_NPM, bool a_reproinhib)
 Newt constructor. More...
 
void Init (vector< unsigned > a_pond, Newt_Population_Manager *a_NPM, bool a_reproinhib)
 Intitialise object. More...
 
void ReInit (int a_x, int a_y, vector< unsigned > a_pond, Landscape *a_L, Newt_Population_Manager *a_NPM, bool a_reproinhib)
 ReInit for object pool. More...
 
 ~Newt_Base ()
 Newt destructor. More...
 
virtual int WhatState ()
 Returns the state number for display purposes. More...
 
TTypeOfNewtState st_Develop (void)
 Behavioural state development - does nothing in the base class. More...
 
TTypeOfNewtState st_Movement (void)
 Behavioural state movement - does nothing in the base class. More...
 
void st_Dying (void)
 Behavioural state dying. More...
 
virtual void BeginStep (void)
 The BeginStep is the first 'part' of the timestep that an animal can behave in. It is called once per timestep. More...
 
virtual void EndStep (void)
 The EndStep is the third 'part' of the timestep that an animal can behave in. It is called once per timestep. More...
 
unsigned GetAge ()
 A typical interface function - this one returns the Age as an unsigned integer. More...
 
void SetAge (unsigned a_age)
 A typical interface function - this one sets the Age as an unsigned integer. More...
 
unsigned GetHomePond ()
 A typical interface function - this one returns the home pond reference as an unsigned integer. More...
 
void SetHomePond (unsigned a_pond)
 A typical interface function - this one sets the home pond reference as an unsigned integer. More...
 
void InternalPesticideHandlingAndResponse (double)
 For handlng of class-specific pesticide effects. More...
 
- Public Member Functions inherited from TAnimal
unsigned SupplyFarmOwnerRef ()
 
AnimalPosition SupplyPosition ()
 
APoint SupplyPoint ()
 
int SupplyPolygonRef ()
 
int Supply_m_Location_x ()
 
int Supply_m_Location_y ()
 
virtual void KillThis ()
 
virtual void CopyMyself ()
 
void SetX (int a_x)
 
void SetY (int a_y)
 
 TAnimal (int x, int y, Landscape *L)
 
virtual void ReinitialiseObject (int x, int y, Landscape *L)
 Used to re-use an object - must be implemented in descendent classes. More...
 
virtual void Dying ()
 
void CheckManagement (void)
 
void CheckManagementXY (int x, int y)
 
virtual bool OnFarmEvent (FarmToDo)
 
- Public Member Functions inherited from TALMaSSObject
int GetCurrentStateNo ()
 Returns the current state number. More...
 
void SetCurrentStateNo (int a_num)
 Sets the current state number. More...
 
bool GetStepDone ()
 Returns the step done indicator flag. More...
 
void SetStepDone (bool a_bool)
 Sets the step done indicator flag. More...
 
virtual void ReinitialiseObject ()
 Used to re-use an object - must be implemented in descendent classes. More...
 
 TALMaSSObject ()
 The constructor for TALMaSSObject. More...
 
virtual ~TALMaSSObject ()
 The destructor for TALMaSSObject. More...
 
void OnArrayBoundsError ()
 Used for debugging only, tests basic object properties. More...
 

Static Public Attributes

static double m_LarvaPPPThreshold = cfg_NewtLarvaPPPToxTrigger.value()
 The threshold for effect of PPP on larvae. More...
 
static double m_LarvaPPPElimRate = cfg_NewtLarvaPPPToxEliminationRate.value()
 The daily proportion of PPP body burden that is not eliminated for larvae. More...
 
static double m_LarvaPPPEffectProbability = cfg_NewtLarvaPPPEffectProbability.value()
 The daily probability of effect if above m_LarvaPPPThreshold for larvae. More...
 
static double m_LarvalFoodProportion = cfg_LarvalFoodProportion.value()
 Holds the parameter value for the proportion of food eaten per day relative to size. More...
 
static double m_LarvaDevelopmentUpperSz = cfg_NewtLarvaDevelThresholdUpperSz.value()
 The upper size at which larvae will undergo metamorphosis. More...
 
static double m_LarvaDevelopmentLowerSz = cfg_NewtLarvaDevelThresholdLowerSz.value()
 The lower size below which larvae cannot undergo metamorphosis. More...
 
static double m_LarvaDevelopmentTime = cfg_NewtLarvaDevelThresholdTime.value()
 The time before a larva can undergo metamorphosis. More...
 
static double m_NewtLarvaDailyGrowthIncrement = cfg_NewtLarvaDailyGrowthIncrement.value()
 The daily growth increment if a larva survives to grow that day. More...
 
static double m_LarvaMortalityChance = cfg_NewtLarvaMortalityChance.value()
 The daily probability of death from unspecified causes for a larva. More...
 
- Static Public Attributes inherited from Newt_Egg
static double m_EggPPPThreshold = cfg_NewtEggPPPToxTrigger.value()
 The threshold for effect of PPP on eggs. More...
 
static double m_EggPPPElimRate = cfg_NewtEggPPPToxEliminationRate.value()
 The daily proportion of PPP body burden that is not eliminated for eggs. More...
 
static double m_EggPPPEffectProbability = cfg_NewtEggPPPEffectProbability.value()
 The daily probability of effect if above m_EggPPPThreshold for eggs. More...
 
- Static Public Attributes inherited from Newt_Base
static double m_EggDevelopmentDDTotal = cfg_NewtEggDevelTotal.value()
 
static double m_EggDevelopmentDDParameter = cfg_NewtEggDevelDDParameter.value()
 
static double m_JuvenileDevelopmentSize = cfg_NewtJuvenileDevelSize.value()
 
static double m_EggMortalityChance = cfg_NewtEggMortalityChance.value()
 
static double m_JuvenileMortalityChance = 0.0
 
static double m_AdultMortalityChance = 0.0
 
static bool m_test_pesticide_egg = cfg_Newt_Test_Pesticide_Egg.value()
 Flags to record whether we are in pesticide testing mode. More...
 
static bool m_test_pesticide_larva = cfg_Newt_Test_Pesticide_Larva.value()
 
static bool m_test_pesticide_terrestrial = cfg_Newt_Test_Pesticide_Terrestrial.value()
 

Protected Member Functions

virtual TTypeOfNewtState st_Develop (void)
 Larva development state. More...
 
virtual TTypeOfNewtState st_NextStage (void)
 Larva metamorphosis. More...
 
- Protected Member Functions inherited from TAnimal
void CorrectWrapRound ()
 Corrects wrap around co-ordinate problems. More...
 

Protected Attributes

double m_LarvalSize
 Holds the size of the larva, we are assuming length is the critical measure as with the adults. More...
 
- Protected Attributes inherited from Newt_Egg
double m_AgeDegrees
 
- Protected Attributes inherited from Newt_Base
TTypeOfNewtState m_CurrentNewtState
 Variable to record current behavioural state. More...
 
unsigned m_Age
 
vector< unsigned > m_pondlist
 
Newt_Population_Managerm_OurPopulationManager
 This is a time saving pointer to the correct population manager object. More...
 
double m_body_burden
 The current PPP body burden for use in pesticide testing mode. More...
 
bool m_reproductiveinhibition
 A flag to indicate environmentally induced reproductive inhibition (value is inherited by descendent classes) More...
 
- Protected Attributes inherited from TAnimal
int m_Location_x
 
int m_Location_y
 
Landscapem_OurLandscape
 
- Protected Attributes inherited from TALMaSSObject
int m_CurrentStateNo
 The basic state number for all objects - '-1' indicates death. More...
 
bool m_StepDone
 Indicates whether the iterative step code is done for this timestep. More...
 

Detailed Description

The newt larva class - in pond.

Constructor & Destructor Documentation

◆ Newt_Larva()

Newt_Larva::Newt_Larva ( int  a_x,
int  a_y,
vector< unsigned >  a_pond,
Landscape a_L,
Newt_Population_Manager a_NPM,
unsigned  a_age,
bool  a_reproinhib 
)

Newt_Larva constructor.

Newt_Larva constructor Assigns default values to specific larva attributes and passes the age of the larva from the age of the hatching egg.

203  : Newt_Egg(a_x, a_y, a_pond, a_L, a_NPM, a_reproinhib)
204 {
208  Init(a_age);
209 }
Newt_Egg(int a_x, int a_y, vector< unsigned > a_pond, Landscape *a_L, Newt_Population_Manager *a_NPM, bool a_reproinhib)
Newt_Egg constructor.
Definition: Newt.cpp:97
virtual void Init()
Newt_Egg Initialisation.
Definition: Newt.cpp:115

References Newt_Egg::Init().

◆ ~Newt_Larva()

Newt_Larva::~Newt_Larva ( void  )

Newt_Larva destructor.

213 {
214  ;
215 }

Member Function Documentation

◆ Init()

void Newt_Larva::Init ( int  a_age)
virtual

Newt_larva Initialisation.

225 {
226  m_AgeDegrees = 0;
227  m_LarvalSize = 1.0;
228  m_Age = a_age;
229 }
unsigned m_Age
Definition: Newt.h:115
double m_AgeDegrees
Definition: Newt.h:192
double m_LarvalSize
Holds the size of the larva, we are assuming length is the critical measure as with the adults.
Definition: Newt.h:270

References Newt_Base::m_Age, Newt_Egg::m_AgeDegrees, and m_LarvalSize.

◆ InternalPesticideHandlingAndResponse()

void Newt_Larva::InternalPesticideHandlingAndResponse ( )

For handlng of class-specific pesticide effects.

This method is re-implemented from Newt_Base for any class which has pesticide response behaviour. If the body burden exceeds the trigger then an effect is tested for and implemented depending on the pesticide type.

1198  {
1203  // Test against the threshold level for Larva to determine if an effect needs to be tested for
1205  // We are above the PPP body burden threshold, so make a test for effect
1208  switch (tp) {
1209  case ttop_NoPesticide:
1210  break;
1211  case ttop_ReproductiveEffects: // Reproductive effects
1212  m_reproductiveinhibition = true;
1213  break;
1214  case ttop_AcuteEffects: // Acute mortality
1216  KillThis();
1217  break;
1218  case ttop_MultipleEffects:
1219  break;
1220  default:
1221  g_msg->Warn("Unknown pesticide type used in Newt_Female::InternalPesticideHandlingAndResponse() pesticide code ", int(tp));
1222  exit(47);
1223  }
1224  }
1225  }
1226 }
MapErrorMsg * g_msg
This pointer provides access the to the internal ALMaSS error message system.
Definition: maperrormsg.cpp:41
boost::variate_generator< base_generator_type &, boost::uniform_real<> > g_rand_uni
@ toNewts_Die
Definition: Newt.h:75
TTypesOfPesticide SupplyPesticideType(void)
Definition: landscape.h:433
void Warn(MapErrorState a_level, std::string a_msg1, std::string a_msg2)
Definition: maperrormsg.cpp:59
TTypeOfNewtState m_CurrentNewtState
Variable to record current behavioural state.
Definition: Newt.h:113
bool m_reproductiveinhibition
A flag to indicate environmentally induced reproductive inhibition (value is inherited by descendent ...
Definition: Newt.h:123
double m_body_burden
The current PPP body burden for use in pesticide testing mode.
Definition: Newt.h:121
static double m_LarvaPPPThreshold
The threshold for effect of PPP on larvae.
Definition: Newt.h:237
static double m_LarvaPPPEffectProbability
The daily probability of effect if above m_LarvaPPPThreshold for larvae.
Definition: Newt.h:241
virtual void KillThis()
Definition: PopulationManager.h:219
Landscape * m_OurLandscape
Definition: PopulationManager.h:229
TTypesOfPesticide
Definition: landscape.h:66
@ ttop_NoPesticide
Definition: landscape.h:67
@ ttop_AcuteEffects
Definition: landscape.h:68
@ ttop_MultipleEffects
Definition: landscape.h:74
@ ttop_ReproductiveEffects
Definition: landscape.h:69

References g_msg, g_rand_uni, TAnimal::KillThis(), Newt_Base::m_body_burden, Newt_Base::m_CurrentNewtState, m_LarvaPPPEffectProbability, m_LarvaPPPThreshold, TAnimal::m_OurLandscape, Newt_Base::m_reproductiveinhibition, Landscape::SupplyPesticideType(), toNewts_Die, ttop_AcuteEffects, ttop_MultipleEffects, ttop_NoPesticide, ttop_ReproductiveEffects, and MapErrorMsg::Warn().

Referenced by st_Develop().

◆ ReInit()

void Newt_Larva::ReInit ( int  a_x,
int  a_y,
vector< unsigned >  a_pond,
Landscape a_L,
Newt_Population_Manager a_NPM,
unsigned  a_age,
bool  a_reproinhib 
)

ReInit for object pool.

218  {
219  Newt_Egg::ReInit(a_x, a_y, a_pond, a_L, a_NPM, a_reproinhib);
220  Init(a_age);
221 }
void ReInit(int a_x, int a_y, vector< unsigned > a_pond, Landscape *a_L, Newt_Population_Manager *a_NPM, bool a_reproinhib)
ReInit for object pool.
Definition: Newt.cpp:109

References Newt_Egg::Init(), and Newt_Egg::ReInit().

Referenced by Newt_Population_Manager::CreateObjects().

◆ st_Develop()

TTypeOfNewtState Newt_Larva::st_Develop ( void  )
protectedvirtual

Larva development state.

Determines whether the larva sucumbs to daily mortality using a probability test against a daily probability (input parameter), if so return toNewts_Die state.
Next there is a test for the availability of food in the pond. If there is not enough food available then they also die.
Then if there is the need to test for pesticide effects then the body-burden is adjusted for yesterdays elimination, then pesticide at this location is determined and any intake stored. If the body-burden is greater than the threshold for effects, then InternalPesticideHandlingAndResponse is called and the impacts determined. If the larva survives:

  • The age is incremented
  • The number days in the larval stage is incremented
  • We assume that the larva eats Newt_Base::m_LarvalFoodProportion multiplied by its age in g of food per day. If this is not available the larva dies. See the larval food model is controlled by the Newt_Population_Manager and accessed through Newt_Population_Manager::SubtractLarvalFood
  • The current model assumes a linear increase in size up to cfg_newtJuvenileStartSize from the starting length of 1mm
  • The larva matures when it reaches either a specified size (age) or a the day-degrees needed for development, assuming the larvae is above the lower limit of size. Currently upper and lower size limit are the same, resulting in a age-specific maturation date.

Reimplemented from Newt_Egg.

232  {
252  // We need to test pesticide if m_test_pesticide is set
254  // Eliminate some/all of yesterdays body burden of PPP by multiplying by 1-the daily elimination rate
256  // Pick up the pesticide to add to the body burden.
257  // This differs from the usual way of doing things because we assume mixing in pond water, so ask the pond.
259  // Test against the threshold level for adult to determine if an effect needs to be tested for
262  }
263  m_Age++;
264  m_AgeDegrees++;
268  return toNewts_Develop;
269 }
@ toNewts_NextStage
Definition: Newt.h:69
@ toNewts_Develop
Definition: Newt.h:67
bool SubtractPondLarvalFood(double a_food, int a_polyrefindex)
Removes larval food from a pond and returns true if it was possible, otherwise false.
Definition: Landscape.cpp:664
double SupplyPondPesticide(int a_poly_index)
Get the pesticide concentration per liter from a pond (must be a pond index on calling)
Definition: landscape.h:761
vector< unsigned > m_pondlist
Definition: Newt.h:117
static bool m_test_pesticide_larva
Definition: Newt.h:107
static double m_LarvaDevelopmentTime
The time before a larva can undergo metamorphosis.
Definition: Newt.h:249
static double m_LarvaDevelopmentUpperSz
The upper size at which larvae will undergo metamorphosis.
Definition: Newt.h:245
static double m_NewtLarvaDailyGrowthIncrement
The daily growth increment if a larva survives to grow that day.
Definition: Newt.h:251
static double m_LarvaPPPElimRate
The daily proportion of PPP body burden that is not eliminated for larvae.
Definition: Newt.h:239
static double m_LarvaMortalityChance
The daily probability of death from unspecified causes for a larva.
Definition: Newt.h:253
static double m_LarvaDevelopmentLowerSz
The lower size below which larvae cannot undergo metamorphosis.
Definition: Newt.h:247
void InternalPesticideHandlingAndResponse()
For handlng of class-specific pesticide effects.
Definition: Newt.cpp:1198
static double m_LarvalFoodProportion
Holds the parameter value for the proportion of food eaten per day relative to size.
Definition: Newt.h:243

References g_rand_uni, InternalPesticideHandlingAndResponse(), Newt_Base::m_Age, Newt_Egg::m_AgeDegrees, Newt_Base::m_body_burden, Newt_Base::m_CurrentNewtState, m_LarvaDevelopmentLowerSz, m_LarvaDevelopmentTime, m_LarvaDevelopmentUpperSz, m_LarvalFoodProportion, m_LarvalSize, m_LarvaMortalityChance, m_LarvaPPPElimRate, m_NewtLarvaDailyGrowthIncrement, TAnimal::m_OurLandscape, Newt_Base::m_pondlist, Newt_Base::m_test_pesticide_larva, Landscape::SubtractPondLarvalFood(), Landscape::SupplyPondPesticide(), toNewts_Develop, toNewts_Die, and toNewts_NextStage.

Referenced by Step().

◆ st_NextStage()

TTypeOfNewtState Newt_Larva::st_NextStage ( void  )
protectedvirtual

Larva metamorphosis.

Creates a new Newt_Juvenile object and passes the data from the young to it, then signals young object removal.

Reimplemented from Newt_Egg.

300  {
304 #ifdef __RECORDNEWTMETAMORPHOSIS
306 #endif
307  struct_Newt sN;
309  sN.L = m_OurLandscape;
310  sN.age = m_Age;
311  sN.x = m_Location_x;
312  sN.y = m_Location_y;
314  sN.pondrefs = m_pondlist;
315  m_OurPopulationManager->CreateObjects( tton_Juvenile, NULL, &sN, 1 ); //
316  m_CurrentStateNo = -1;
317  m_StepDone = true;
318  return toNewts_Remove; // Not necessary, but for neatness
319 }
@ tton_Juvenile
Definition: Newt.h:51
@ toNewts_Remove
Definition: Newt.h:70
Newt_Population_Manager * m_OurPopulationManager
This is a time saving pointer to the correct population manager object.
Definition: Newt.h:119
void RecordMetamorphosis(int a_age)
Add a new metamorphosis time to the stats record.
Definition: Newt_Population_Manager.cpp:468
void CreateObjects(int ob_type, TAnimal *pvo, struct_Newt *data, int number)
Method for creating a new individual Newt.
Definition: Newt_Population_Manager.cpp:344
bool m_StepDone
Indicates whether the iterative step code is done for this timestep.
Definition: PopulationManager.h:118
int m_CurrentStateNo
The basic state number for all objects - '-1' indicates death.
Definition: PopulationManager.h:116
int m_Location_y
Definition: PopulationManager.h:228
int m_Location_x
Definition: PopulationManager.h:225
Used for creation of a new Newt object.
Definition: Newt_Population_Manager.h:47
bool reproinhib
Holds a reproductive effect flag.
Definition: Newt_Population_Manager.h:64
vector< unsigned > pondrefs
Born x-coord.
Definition: Newt_Population_Manager.h:56
int y
y-coord
Definition: Newt_Population_Manager.h:54
int age
The newt age.
Definition: Newt_Population_Manager.h:50
int x
x-coord
Definition: Newt_Population_Manager.h:52
Landscape * L
Landscape pointer.
Definition: Newt_Population_Manager.h:60
Newt_Population_Manager * NPM
Newt_Population_Manager pointer.
Definition: Newt_Population_Manager.h:62

References struct_Newt::age, Newt_Population_Manager::CreateObjects(), struct_Newt::L, Newt_Base::m_Age, TALMaSSObject::m_CurrentStateNo, TAnimal::m_Location_x, TAnimal::m_Location_y, TAnimal::m_OurLandscape, Newt_Base::m_OurPopulationManager, Newt_Base::m_pondlist, Newt_Base::m_reproductiveinhibition, TALMaSSObject::m_StepDone, struct_Newt::NPM, struct_Newt::pondrefs, Newt_Population_Manager::RecordMetamorphosis(), struct_Newt::reproinhib, toNewts_Remove, tton_Juvenile, struct_Newt::x, and struct_Newt::y.

Referenced by Step().

◆ Step()

void Newt_Larva::Step ( void  )
virtual

Newt_Larva Step code. This is called continuously until all animals report that they are 'DONE'.

Reimplemented from Newt_Egg.

272  {
273  if (m_StepDone || m_CurrentStateNo == -1) return;
274  switch (m_CurrentNewtState) {
275  case toNewts_InitialState: // Initial state always starts with develop
277  break;
278  case toNewts_Develop:
279  m_CurrentNewtState = st_Develop(); // Will return movement or die
280  m_StepDone = true;
281  break;
282  case toNewts_NextStage:
283  st_NextStage();
284  break;
285  case toNewts_Die:
286  st_Dying(); // No return
287  m_StepDone = true;
288  break;
289  case toNewts_Remove:
290  m_CurrentStateNo = -1;
291  m_StepDone = true;
292  break;
293  default:
294  m_OurLandscape->Warn( "Newt_Larva::Step()", " unknown state" );
295  exit( 1 );
296  }
297 }
@ toNewts_InitialState
Definition: Newt.h:66
void Warn(std::string a_msg1, std::string a_msg2)
Definition: landscape.h:1579
void st_Dying(void)
Behavioural state dying.
Definition: Newt.cpp:87
virtual TTypeOfNewtState st_Develop(void)
Larva development state.
Definition: Newt.cpp:232
virtual TTypeOfNewtState st_NextStage(void)
Larva metamorphosis.
Definition: Newt.cpp:300

References Newt_Base::m_CurrentNewtState, TALMaSSObject::m_CurrentStateNo, TAnimal::m_OurLandscape, TALMaSSObject::m_StepDone, st_Develop(), Newt_Base::st_Dying(), st_NextStage(), toNewts_Develop, toNewts_Die, toNewts_InitialState, toNewts_NextStage, toNewts_Remove, and Landscape::Warn().

Member Data Documentation

◆ m_LarvaDevelopmentLowerSz

double Newt_Larva::m_LarvaDevelopmentLowerSz = cfg_NewtLarvaDevelThresholdLowerSz.value()
static

The lower size below which larvae cannot undergo metamorphosis.

Referenced by Newt_Population_Manager::Newt_Population_Manager(), and st_Develop().

◆ m_LarvaDevelopmentTime

double Newt_Larva::m_LarvaDevelopmentTime = cfg_NewtLarvaDevelThresholdTime.value()
static

The time before a larva can undergo metamorphosis.

Referenced by Newt_Population_Manager::Newt_Population_Manager(), and st_Develop().

◆ m_LarvaDevelopmentUpperSz

double Newt_Larva::m_LarvaDevelopmentUpperSz = cfg_NewtLarvaDevelThresholdUpperSz.value()
static

The upper size at which larvae will undergo metamorphosis.

Referenced by Newt_Population_Manager::Newt_Population_Manager(), and st_Develop().

◆ m_LarvalFoodProportion

double Newt_Larva::m_LarvalFoodProportion = cfg_LarvalFoodProportion.value()
static

Holds the parameter value for the proportion of food eaten per day relative to size.

Referenced by Newt_Population_Manager::Newt_Population_Manager(), and st_Develop().

◆ m_LarvalSize

double Newt_Larva::m_LarvalSize
protected

Holds the size of the larva, we are assuming length is the critical measure as with the adults.

Referenced by Init(), and st_Develop().

◆ m_LarvaMortalityChance

double Newt_Larva::m_LarvaMortalityChance = cfg_NewtLarvaMortalityChance.value()
static

The daily probability of death from unspecified causes for a larva.

Referenced by Newt_Population_Manager::Newt_Population_Manager(), and st_Develop().

◆ m_LarvaPPPEffectProbability

double Newt_Larva::m_LarvaPPPEffectProbability = cfg_NewtLarvaPPPEffectProbability.value()
static

The daily probability of effect if above m_LarvaPPPThreshold for larvae.

Referenced by InternalPesticideHandlingAndResponse(), and Newt_Population_Manager::Newt_Population_Manager().

◆ m_LarvaPPPElimRate

double Newt_Larva::m_LarvaPPPElimRate = cfg_NewtLarvaPPPToxEliminationRate.value()
static

The daily proportion of PPP body burden that is not eliminated for larvae.

Referenced by Newt_Population_Manager::Newt_Population_Manager(), and st_Develop().

◆ m_LarvaPPPThreshold

double Newt_Larva::m_LarvaPPPThreshold = cfg_NewtLarvaPPPToxTrigger.value()
static

The threshold for effect of PPP on larvae.

Class Newt_Larva represents the larval stage of the newt in ponds. Each larva has a location in a pond polygon represented by it's home pond polygon reference (in m_pondlist).

Death can occur by daily mortality probability or due to failing to get daily food intake.
In addition to inherited attributes from Newt_Egg, each larva has:

  • m_LarvalFoodProportion Holds the parameter value for the proportion of food eaten per day relative to weight

Referenced by InternalPesticideHandlingAndResponse(), and Newt_Population_Manager::Newt_Population_Manager().

◆ m_NewtLarvaDailyGrowthIncrement

double Newt_Larva::m_NewtLarvaDailyGrowthIncrement = cfg_NewtLarvaDailyGrowthIncrement.value()
static

The daily growth increment if a larva survives to grow that day.

Referenced by Newt_Population_Manager::Newt_Population_Manager(), and st_Develop().


The documentation for this class was generated from the following files: